package com.dawnling.greendaodemo.bean;

import java.util.List;

/**
 * 测试数据库嵌套多层bean
 */
public class UserChildBean {
    private String fatherName;
    private String motherName;
    private List<String> list;
    private UserThreeChildBean childThree;

    public UserChildBean() {}

    public UserChildBean(String fatherName, String motherName) {
        this.fatherName = fatherName;
        this.motherName = motherName;
    }

    public UserChildBean(String fatherName, String motherName, List<String> list, UserThreeChildBean childThree) {
        this.fatherName = fatherName;
        this.motherName = motherName;
        this.list = list;
        this.childThree = childThree;
    }

    public String getFatherName() {
        return fatherName;
    }

    public void setFatherName(String fatherName) {
        this.fatherName = fatherName;
    }

    public String getMotherName() {
        return motherName;
    }

    public void setMotherName(String motherName) {
        this.motherName = motherName;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public UserThreeChildBean getChildThree() {
        return childThree;
    }

    public void setChildThree(UserThreeChildBean childThree) {
        this.childThree = childThree;
    }

    @Override
    public String toString() {
        return "UserChildBean{" +
                "fatherName='" + fatherName + '\'' +
                ", motherName='" + motherName + '\'' +
                ", list='" + list + '\'' +
                ", childThree='" + childThree + '\'' +
                '}';
    }
}
